<template>
  <van-row>
    <van-col span="24">
      <x-header :title="title">
        <i class='iconfont icon-xitongfanhui header-icon' v-show="$route.meta.header_left" slot='overwrite-left' @click="onClickLeft"></i>
        <i class='iconfont icon-xitongcaidan header-icon' v-show="$route.meta.header_right" slot='right'></i>
        <router-link  :to="{name:'Setting'}" slot='right'>
          <i class='iconfont icon-shezhi2 header-icon' v-show="$route.meta.header_setting" ></i>
        </router-link>
      </x-header>
    </van-col>
  </van-row>
</template>

<script>
import { Tab, TabItem, Sticky } from 'vux'
export default {
  data() {
    return {
      msg: '关注'
    }
  },

  methods: {
    onClickLeft() {
      this.$router.goBack()
    }
  },
  computed: {
    title() {
      return this.$route.meta.headerTitel
    }
  }
}
</script>

<style>

</style>
